package com.ruoyi.slope.ai.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务器资源管理对象 slope_ai_server_resource_management
 * 
 * @author ruoyi
 * @date 2025-09-05
 */
public class SlopeAiServerResourceManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务器唯一标识符 (主键) */
    private String serverId;

    /** 服务器名称 */
    @Excel(name = "服务器名称")
    private String serverName;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String ipAddress;

    /** 硬件规格 */
    @Excel(name = "硬件规格")
    private String serverSpec;

    /** 服务器角色 (训练, 推理, 数据存储, 集群管理) */
    @Excel(name = "服务器角色 (训练, 推理, 数据存储, 集群管理)")
    private String role;

    /** 当前状态 (运行中, 已关机, 高负载) */
    @Excel(name = "当前状态 (运行中, 已关机, 高负载)")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setServerId(String serverId) 
    {
        this.serverId = serverId;
    }

    public String getServerId() 
    {
        return serverId;
    }

    public void setServerName(String serverName) 
    {
        this.serverName = serverName;
    }

    public String getServerName() 
    {
        return serverName;
    }

    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }

    public void setServerSpec(String serverSpec) 
    {
        this.serverSpec = serverSpec;
    }

    public String getServerSpec() 
    {
        return serverSpec;
    }

    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serverId", getServerId())
            .append("serverName", getServerName())
            .append("ipAddress", getIpAddress())
            .append("serverSpec", getServerSpec())
            .append("role", getRole())
            .append("status", getStatus())
            .append("notes", getNotes())
            .toString();
    }
}
